<?php
include("inc_configuration.php");
function tor_anlegen ($playerId,$minute,$matchId)
{
	// $cHquery="SELECT id FROM combinations WHERE teamId=",$homeU;
	// $cHe = mysql_query($cHquery);
	// $homeC = (mysql_fetch_object($cHe))->id;
	
	// $cGquery="SELECT id FROM combinations WHERE teamId=",$guestU;
	// $cGe = mysql_query($cGquery);
	// $guestC = (mysql_fetch_object($cGe))->id;
	
	
	
	$aQuery = "INSERT INTO $tbl_goals (playerId, minute, matchId) 
				VALUES ($playerId,$minute,$matchId)";
	$anlegen = mysql_query($aQuery);
	return ($aQuery);
}



?>